﻿import {provide, Component, View} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
import { HTTP_BINDINGS, HTTP_PROVIDERS, Headers, RequestOptions, BaseRequestOptions} from 'angular2/http';
import { APP_BASE_HREF, ROUTER_PROVIDERS } from 'angular2/router';

import TodoApp from './components/todo'
import {TodoStore} from './services/store';

bootstrap(TodoApp, [TodoStore, HTTP_PROVIDERS, ROUTER_PROVIDERS,
    provide(APP_BASE_HREF, { useValue: '/todo' })]);